﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using Entity;
using DataAccess;
using System.Data;
using System.Data.SqlClient;
namespace QuanLyDiemSV
{
    public partial class MasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["dangnhap"] != null)
            {
                dangxuat.Visible = true;
                dangxuat.Text = "Dang xuat";
                Login.Visible = false;
            }
            else
            {
                dangxuat.Visible = false;
                Login.Visible = true;
                Login.Text = "Đăng nhập";
            }
        }
    }
}